export default {
  delBlank(str) {
    return str.replace(/\s*/g, '')
  },
  web3Utils: {
    convertUnit(arg, obj) {
      return new Promise((resolve, reject) => {
        arg = obj.utils.toWei(arg.toString())
        resolve(arg)
      })
    }
  }

}
